tegra20: add USB ULPI init code
authorLucas Stach <[email protected]>
Sun, 30 Sep 2012 22:44:35 +0000 (00:44 +0200)
committerTom Rini <[email protected]>
Mon, 15 Oct 2012 18:54:01 +0000 (11:54 -0700)
commit6d365ea0acf0b6d8e4efd28d9853d287c52d7fec
tree856a73236a703f2bbeb92a276b0a66dbc71d5c49
parent141288b3a3249b79a168988c7d9e9ce817013d6f
tegra20: add USB ULPI init code

This adds the required code to set up a ULPI USB port. It is
mostly a port of the Linux ULPI setup code with some tweaks
added for more correctness, discovered along the way of
debugging this.

To use this both CONFIG_USB_ULPI and CONFIG_USB_ULPI_VIEWPORT
have to be set in the board configuration file.

Signed-off-by: Lucas Stach <[email protected]>
Acked-by: Igor Grinberg <[email protected]>
README
arch/arm/cpu/armv7/tegra20/usb.c
arch/arm/include/asm/arch-tegra20/usb.h